package com.glela.platform.model.request;

import java.io.Serializable;

import org.apache.commons.lang3.StringUtils;

/**
 * 请求头信息
 * @author zls
 *
 */
public class ReqHeaderVo implements Serializable {
	private static final long	serialVersionUID	= -7361926159660693951L;
	private String				phoneType;									//手机客户端类型
	private String				appSystemVersion;							//客户端版本

	/** 是否是iOS */
	public boolean isiOS() {
		return StringUtils.equals(getPhoneType(), "iOS");
	}

	/** 是否是H5 */
	public boolean isH5() {
		return StringUtils.equals(getPhoneType(), "h5");
	}

	/** 是否是wx */
	public boolean isWX() {
		return StringUtils.equals(getPhoneType(), "wx");
	}

	/** 是否是android */
	public boolean isAndroid() {
		return StringUtils.equals(getPhoneType(), "android");
	}

	/** 手机客户端类型 */
	public String getPhoneType() {
		return phoneType;
	}

	/** 手机客户端类型 */
	public void setPhoneType(String phoneType) {
		this.phoneType = phoneType;
	}

	public String getAppSystemVersion() {
		return appSystemVersion;
	}

	public void setAppSystemVersion(String appSystemVersion) {
		this.appSystemVersion = appSystemVersion;
	}
}
